package com.axht.car.fellowcar.system.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author brozer
 * @since 2018-11-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SysUser implements Serializable  {

    
    @TableId
    private String id;
    private String username;
    private Integer age;
    private Integer sex;
    private String name;
    private String password;
    private String idCard;
    private String idCardPictureFront;
    private String idCardPictureBack;
    private String driveCard;
    private String driveCardPicture;
    private String profilePicture;
    private String mobile;
    private String homeAddress;
    private String workAddress;
    private Integer userType;
    private Integer checkStatus;
    private Date checkDate;
    private Integer status;
    @TableField(exist = false)
    private List<SysRole> roles;
    private Date createDate;

    private static final long serialVersionUID = 1L;

}
